/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.asu.bmi.sharp2b.logic;

/**
 *
 * @author David
 */
public class LogicConcept {
    private Integer id;
    private String name;
    private String type;
    private String value;
    
    public LogicConcept(Integer id, String name, String type, String value) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.value = value;
    }
    
    public Integer getId() {
        return id;
    }
    
    public String getName() {
        return name;
    }
    
    public String getType() {
        return type;
    }
    
    public String getValue() {
        return value;
    }
    
    @Override
    public String toString() {
        return name;
    }
    
    public boolean equals(LogicConcept lc){
        return (lc.value.equals(this.value));
    }
}
